load
Loads a custom pointer icon from an XML resource.
The XML resource should have the following form:
<?xml version="1.0" encoding="utf-8"?>
<pointer-icon xmlns:android="http://schemas.android.com/apk/res/android"
android:bitmap="@drawable/my_pointer_bitmap"
android:hotSpotX="24"
android:hotSpotY="24" />
Return
The pointer icon.
Parameters
resources
The resources object.
resourceId
The resource id.
Throws
if the resource was not found or the drawable linked in the resource was not found.